import service from '@/utils/request'

export const sjbzslide = () => {
  return service({
    url: '/sjbz/sjbzGetSlide',
    method: 'get'
  })
}

export const sjbzDelSlide = (params) => {
  return service({
    url: '/sjbz/sjbzDeleteSlide',
    method: 'delete',
    params
  })
}

export const sjbzSlideDetail = (params) => {
  return service({
    url: '/sjbz/sjbzGetidSlide',
    method: 'get',
    params
  })
}

export const sjbzUpdateSlide = (data) => {
  return service({
    url: '/sjbz/sjbzUpdateSlide',
    method: 'put',
    data
  })
}

export const sjbzCreateSlide = (data) => {
  return service({
    url: '/sjbz/sjbzCreateSlide',
    method: 'post',
    data
  })
}
